package main

import (
	"github.com/gin-gonic/gin"
	"go-blog-demo/common"
)

func main() {
	common.InitValidator()
	db, _ := common.ConnectToMysql()
	defer db.Close()
	r := RoutingRegistered(gin.Default())
	panic(r.Run(":6318"))
}
